<!doctype html>

<html lang="en">

<head>

	<meta charset="UTF-8">

	<title>欢迎使用DH16框架</title>

	<link rel="stylesheet" href="Public/bootstrap.min.css">

</head>

<body style="background: #f3f3f3;">
<?php if(isset($_SESSION['username'])){?>
<div>
	欢迎<span style="color: red;font-size: 20px;font-weight: 600;"><?php echo $_SESSION['username'];?></span>回来
	<a href="index.php?c=user&a=out"><button type="button" class="btn btn-danger">退出</button></a>
	<h1 class="text-center text-info" style="margin-top:200px;font-size:80px;"><a href="index.php?c=class&a=index">DH16為妳而生</a></h1>
</div>
<?php }else{?>
<h1 class="text-center text-info" style="margin-top:200px;font-size:80px;"><a href="index.php?c=user&a=login">请登录</a></h1>
<?php }?>
</body>

</html>
